<include file="Public/head" />

<body class="no-skin">
    <include file="Public/header" />
    <div class="main-container" id="main-container">
        <script type="text/javascript">
        try {
            ace.settings.check('main-container', 'fixed')
        } catch (e) {}
        </script>
        <include file="Public/sidebar" />
        <div class="main-content">
            <div class="main-content-inner">
                <!-- #section:basics/content.breadcrumbs -->
                <include file="Public/breadcrumbs" />
                <!-- /section:basics/content.breadcrumbs -->
                <div class="page-content">
                    <include file="Public/set" />
                    <!-- /section:settings.box -->
                    <div class="row">
                        <div class="col-xs-12">
                            <!-- PAGE CONTENT BEGINS -->
                            <div class="row">
                                <form class="form-inline" action="" method="get" id="fomr-search">
                                    <label class="inline">会员搜索</label>
                                    <input type="text" name="keyword" value="{:I(keyword)}" class="form-control">
                                    <label class="inline"></label>
                                    <select name="type" class="form-control">
                                        <option value="user">会员名</option>
                                        <option value="phone">手机</option>
                                    </select>
                                    <button type="submit" class="btn btn-purple btn-sm">
                                        <span class="ace-icon fa fa-search icon-on-right bigger-110"></span> 搜索
                                    </button>
                                    <button id="download-score" class="btn btn-info btn-sm" data-url="{:U('exportech')}"> <i class="fa fa-cloud-download"></i> 导出兑换记录</button>
                                </form>
                            </div>
                            <div class="space-4"></div>
                            <div class="row">
                                <form id="form" method="post" action="{:U('del')}">
                                    <table class="table table-striped table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th width="5%">ID</th>
                                                <th class="center">会员名</th>
                                                <th class="center">兑换使用积分</th>
                                                <th class="center">兑换时间</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            </style>
                                            <empty name="list">
                                                <tr>
                                                    <td class="center" colspan="7">暂时没有数据</td>
                                                </tr>
                                                <else/>
                                                <volist name="list" id="vo">
                                                    <tr>
                                                        <td class="center">{$vo.id}</td>
                                                        <td class="center">{$vo.uname}</td>
                                                        <td class="center">{$vo.score}</td>
                                                        <td class="center">{$vo.createtime}</td>
                                                    </tr>
                                                </volist>
                                            </empty>
                                        </tbody>
                                    </table>
                                </form>
                                {$page}
                            </div>
                            <!-- PAGE CONTENT ENDS -->
                        </div>
                        <!-- /.col -->
                    </div>
                    <!-- /.row -->
                </div>
                <!-- /.page-content -->
            </div>
        </div>
        <!-- /.main-content -->
        <include file="Public/footer" />
    </div>
    <!-- /.main-container -->
    <include file="Public/footerjs" />
    <!-- inline scripts related to this page -->
    <script src="__PUBLIC__/admin/js/amall/score/index.js"></script>
</body>

</html>